#define  _CRT_SECURE_NO_WARNINGS
#include <iostream>
#include <sstream>
#include <string>
#include <cctype>
using namespace std;

int main()
{
	string str;
	getline(cin, str);
	string ret, tmp;
	istringstream iss(str);
	while (iss >> tmp)
		ret += toupper(tmp[0]);
	cout << ret;
	return 0;
}